<div class="dashboardWinContainer" id="windowMessagesContainer">
	<div id="messageWindowStatus"></div>	
	<div id="newMessageForm" class="blueBox" style="display: none;">
		<div><!-- Extra div to make scriptaculous happy -->
			<input type="hidden" id="formAction" />
			<p><label class="vertLabelSmall">Message To:</label>
			<select id="messageTo" style="width: 90%;" size="1">
			<option value="All staff">All staff</option>
			</select>				
			</p>
			
			<p><label class="vertLabelSmall">Message</label>
			<textarea style="width: 90%; height: 100px;" id="messageText"></textarea></p>
													
			<div style="float: left; margin-left: 5px; margin-right: 5px;">
				<a href="#" class="coolButton buttonBGBlueGray" tabindex="30" onClick="saveMessageObj.saveMessage(); return false;"><span class="save">Save</span></a>
			</div>
			<div style="float: left;">
				<a href="#" class="coolButton buttonBGRed" tabindex="30" onClick="messageSupportObj.cancelNewMessageForm(); return false;"><span class="cancel">Close</span></a>
			</div>
			<div style="float: left; margin-left: 10px; margin-top: 5px;" id="messageMessage"></div>
			<div style="clear: left;"></div>
		</div>
	</div>
	<div id="windowMessagesContent"></div>
		
</div>
<script type="text/javascript">
	getMessageObj.getMessages(0,'toUser');
	messageSupportObj.getStaff();
</script>
